package com.jhclothing.outbound.service;

import com.jhclothing.outbound.domain.ClothingOutbound;
import com.jhclothing.product.vo.StatisticInOutVo;

import java.util.List;

/**
 * 服饰出库Service接口
 *
 * @author zyp
 * @date 2024-04-25
 */
public interface IClothingOutboundService {
    /**
     * 查询服饰出库
     *
     * @param outboundId 服饰出库主键
     * @return 服饰出库
     */
    ClothingOutbound selectClothingOutboundByOutboundId(Long outboundId);

    /**
     * 查询服饰出库列表
     *
     * @param clothingOutbound 服饰出库
     * @return 服饰出库集合
     */
    List<ClothingOutbound> selectClothingOutboundList(ClothingOutbound clothingOutbound);

    /**
     * 统计一定时间内的服饰入库数量
     */
    public List<StatisticInOutVo> statisticClothingOutboundNum(StatisticInOutVo statisticInOutVo);

    /**
     * 新增服饰出库
     *
     * @param clothingOutbound 服饰出库
     * @return 结果
     */
    String insertClothingOutbound(ClothingOutbound clothingOutbound);

    /**
     * 修改服饰出库
     *
     * @param clothingOutbound 服饰出库
     * @return 结果
     */
    String updateClothingOutbound(ClothingOutbound clothingOutbound);

    /**
     * 批量删除服饰出库
     *
     * @param outboundIds 需要删除的服饰出库主键集合
     * @param updateBy   更新者
     * @return 结果
     */
    String deleteClothingOutboundByOutboundIds(Long[] outboundIds, String updateBy);
}
